<?php declare(strict_types=1);
/**
 * Created by IntelliJ IDEA
 * Author: 张伯发
 * Date  : 2019/11/23
 * Time  : 10:44
 */

namespace App\Validator\Members;

use Swoft\Validator\Annotation\Mapping\IsString;
use Swoft\Validator\Annotation\Mapping\Length;
use Swoft\Validator\Annotation\Mapping\NotEmpty;
use Swoft\Validator\Annotation\Mapping\Validator;

/**
 * Class MembersLogoutValidator
 * @author 张伯发 2019/11/23 10:44
 * @Validator(name="MembersTokenValidator")
 */
class MembersTokenValidator
{
    /**
     * @NotEmpty(message="token not null")
     * @Length(min=32,max=32,message="token length must be 11 digits ")
     * @IsString()
     * @var string
     */
    protected $token;

}
